﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Trackr.DataAccess
{
    public interface ITrackrDataStore
    {
		IEnumerable<Trackr.Model.TimeItem> GetAll();
		IEnumerable<Trackr.Model.TimeItem> GetAll(DateTime fromDate, DateTime toDate);
		Trackr.Model.TimeItem Get(int Id);
		Trackr.Model.TimeItem Get(Trackr.Model.TimeItem timeItem);
		bool Save(Trackr.Model.TimeItem timeItem);
		bool Delete(Trackr.Model.TimeItem timeItem);
    }
}
